Skip to content

fix: support remote parent in profile mode#54

Open
frederikb wants to merge 1 commit intomvnpm:mainfrom
frederikb:fix/in-profile-remote-parent
Open

fix: support remote parent in profile mode#54
frederikb wants to merge 1 commit intomvnpm:mainfrom
frederikb:fix/in-profile-remote-parent

Conversation

@frederikb
Copy link
Contributor

Avoid resolving the parent POM when running in in-profile mode to prevent failures due to NPEs with remote parents.

The dump to maven-model-helper to 40 is required so empty <relativePath/> are preserved.


Note that this doesn't actually solve the root cause of the NPE and thus doesn't fix the NPE for the "Locker BOM" mode.

That would be a trivial != null check but I would like to consider it a bit more carefully to ensure there aren't scenarios which are not considering.

Avoid resolving the parent POM when running in in-profile mode to
prevent failures due to NPEs with remote parents.

The dump to `maven-model-helper` to 40 is required so empty <relativePath/> are preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant